[BUG] DISM /ResetBase /StartComponentCleanup will reset KB2959977 and KB2980654

It turns out that there is no way for me to post this issue on Microsoft Connect since Win8.1 is not on the product list. Anyways, a series of questions comes first - anyone has noticed this? Anywhere I can report it (besides here)? Will it be fixed?

Steps to reproduce:

1. Use DISM to integrate all released Windows 8.1 patches, including KB2959977 and KB2980654

2. Boot to Windows (VM), verify that no more available updates in Windows Update

3. Call DISM /ResetBase /StartComponentCleanup against the image on the VHDX

4. Boot to Windows (VM) again

Result: now Windows Updates require you to install KB2959977 and KB2980654 again.

Cheers

Chris

December 11th, 2014 9:53am

Hi,

I would make a test for this phenomenon in our testing enviroments, if there is any progress, I would post here.

Please be paint, thanks for your understanding.

Free Windows Admin Tool Kit Click here and download it now
December 14th, 2014 3:41pm

Hi, Chris,

I made a test in our testing enviroment, here is the results:

Testing machine: Virtual Machine Windows 8.1 uddate 1 Enterprise X64 English

before run the command, check Installed Updates to make sure both KB2959977 and KB2980654 is there.

After that, run the command below:

Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase

When this command finished, restart computer to check installed updates, then find both these update was not removed.

Under this experiment, I doubt these two update maybe not installed successfuly, their status in Update History might be pending, not installed. That's why you encoutner this problem after run this command.

December 16th, 2014 9:07am

I actually have the same issue when using DISM to integrate the updates to install.wim and creating an ISO file to install W8.1 on a physical machine. Consider the following scenarios:


INTEGRATE THE UPDATES TO WIM FILE, RUN CLEANUP ON THE UPDATED WIM FILE


  1. dism /mount-wim /wimfile:C:\w\IR5_CCSA_X64FRE_EN-US_DV9\sources\install.wim /index:1 /mountdir:C:\w\mount
    (as a base I am using MSDN/TechNet en_windows_8.1_with_update_x64_dvd_6051480.iso with November 2014 rollup and I am installing Pro)

  2. dism /image:C:\w\mount /add-package /packagepath:C:\w\msu /preventpending
    (the msu directory contains only Windows8.1-KB2959977-x64.cab and Windows8.1-KB2980654-x64.cab)

  3. dism /image:C:\w\mount /get-packages
    KB2959977 and KB2980654 are installed

  4. dism /image:C:\w\mount /cleanup-image /startcomponentcleanup
    (/resetbase not needed for this problem to manifest)

  5. dism /image:C:\w\mount /get-packages
    KB2959977 and KB2980654 are now missing

INTEGRATE THE UPDATES TO WIM FILE, DO NOT RUN CLEANUP


  1. dism /mount-wim /wimfile:C:\w\IR5_CCSA_X64FRE_EN-US_DV9\sources\install.wim /index:1 /mountdir:C:\w\mount
    dism /image:C:\w\mount /add-package /packagepath:C:\w\msu /preventpending
    dism /unmount-wim /mountdir:C:\w\mount /commit
    Install to physical machine or VM
  2. After installation and OOBE (disable Windows Update so it does not mess with things), go to Control Panel/Programs/Programs and Features/Installed Updates: the updates are there (keep the Installed updates window open)

Now, if you run cleanup on the online image

dism /online /cleanup-image /startcomponentcleanup
immediately after getting to the desktop for the first time, the two updates will vanish (simply refresh the Installed updates window, if you kept it open, to see).

However, there are actions that will make the two updates "stick" and "survive" the cleanup, such as installing drivers or simply checking for updates in Windows Update (this is why you should have disabled Windows Update in OOBE). At first I thought that I simply need to perform at least one restart/shutdown after installation, but no, if restart is the only thing you do at the desktop, you may do that many times and running the cleanup command will still remove the two updates.

This is definitely a weird behavior and probably a bug.



  • Edited by Jan Klos Saturday, December 27, 2014 4:57 PM simplified
Free Windows Admin Tool Kit Click here and download it now
December 27th, 2014 9:03am

I confirm, i have the same issue when integrating updates into the wim file.

OS is Windows 8.1 Professional with Update x64.

These two updates are disappearing after i run dism /online /cleanup-image /startcomponentcleanup /resetbase on a live image. I checked before and after that with dism /online /get-packages. These two have Installed status before cleanup, and have disappeared from the list afterwards.

March 22nd, 2015 1:50pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics